﻿using CIS.Device.Modules.IndexModules.ViewModels;
using CIS.Device.Modules.IndexModules.Views;
using CIS.Device.Modules.MainModules.ViewModels;
using CIS.Device.Modules.MainModules.Views;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CIS.Device.Modules.MainModules
{
    public class IndexModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {
            //var regionManager = containerProvider.Resolve<IRegionManager>();
            //regionManager.RegisterViewWithRegion("MainRegion", typeof(MainView));
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<MainView, MainViewModel>("MainView");
        }
    }
}
